<div class="uk-layui-form">
    <form class="layui-form uk-form" action="/admin/callcenter/skill/extention/update.html" data-toggle="ajax-form" data-inner="#callCenterContent">
    	<input type="hidden" name="id" value="${skillExtention.id!''}">
    	<input type="hidden" name="hostid" value="${pbxHost.id!''}">
        <div class="layui-collapse">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">分机配置<font color="red">（带*表示必填项）</font></h2>
				<div class="layui-colla-content layui-show">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">状态<a id="scheme_1" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('Logged Out:注销。无法接受队列电话呼叫<br>Available：空闲。准备接受队列电话呼叫<br>Available(On Demand)：状态是被 置闲，一旦通话结束后不自动设置为等待。<br>On break：休息, 是登录状态，但是不能接受队列电话呼叫.', '#scheme_1',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
					         <div class="layui-input-inline">
								<select name="status" >
									<option value="On break" <#if skillExtention?? && skillExtention.status=='On break'>selected="selected"</#if> >休息</option>
									<option value="Logged Out" <#if skillExtention?? && skillExtention.status=='Logged Out'>selected="selected"</#if>>注销</option>
									<option value="Available" <#if skillExtention?? && skillExtention.status=='Available'>selected="selected"</#if>>空闲</option>
									<option value="Available (On Demand)" <#if skillExtention?? && skillExtention.status=='Available (On Demand)'>selected="selected"</#if>>置闲</option>
								</select>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">最大无应答<a id="scheme_2" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('如果客户端连续没有应答个数达到设置参数后，他的状态会被自动修改为“休息”.单位：秒', '#scheme_2',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
				            <div class="layui-input-inline">
				                <input type="number" name="maxnoanswer" min="0" value="${skillExtention.maxnoanswer!''}" placeholder="请输入最大无应答" autocomplete="off" class="layui-input">
				            </div>
						</div>
			        </div>
			        <div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">话后处理时间<a id="scheme_3" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('话后处理时间，客户端通话完后休息时间.单位：秒', '#scheme_3',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
				            <div class="layui-input-inline">
				                <input type="number" name="wrapuptime" min="0" value="${skillExtention.wrapuptime!''}" placeholder="请输入话后处理时间" autocomplete="off" class="layui-input">
				            </div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">客户端拒绝后延迟时间<a id="scheme_4" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('客户端拒绝后延迟时间. 客户端拒接后，我们需要等待设置参数时间在呼叫客户端,单位：秒', '#scheme_4',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
				            <div class="layui-input-inline">
				                <input type="number" name="redeltime" min="0" value="${skillExtention.redeltime!''}" placeholder="客户端拒绝后延迟时间" autocomplete="off" class="layui-input">
				            </div>
						</div>
			        </div>
			        <div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">忙延迟时间<a id="scheme_5" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('忙延迟时间, 如果客户端是忙，我们等待设置的参数时间后，在呼叫客户端。单位：秒', '#scheme_5',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
				            <div class="layui-input-inline">
				                <input type="number" name="budeltime" min="0" value="${skillExtention.budeltime!''}" placeholder="请输入忙延迟时间" autocomplete="off" class="layui-input">
				            </div>
						</div>
			        </div>
				</div>
			</div>
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">规则</h2>
				<div class="layui-colla-content layui-show">
					 <div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">等级（level）<a id="scheme_6" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('值越小等级越高', '#scheme_6',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
				            <div class="layui-input-inline">
				                <input type="number" name="level" min="1" value="${skillExtention.level!''}" placeholder="值越小等级越高" autocomplete="off" class="layui-input">
				            </div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">地位（position）<a id="scheme_7" href="javacript:void(0);"  onmouseenter="subtips=layer.tips('值越小地位就越高', '#scheme_7',{tips:[1,'#ff6700'],time: 30000});" onmouseleave="layer.close(subtips);" >
								<i class="layui-icon layui-icon-about" style="font-size: 16px;"></i>  
							</a>：
							</label>
				            <div class="layui-input-inline">
				                <input type="number" name="position" min="1"  value="${skillExtention.position!''}" placeholder="值越小地位就越高" autocomplete="off" class="layui-input">
				            </div>
						</div>
			        </div>
				</div>
			</div>
		</div>
        <div class="layui-form-button">
            <div class="layui-button-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script>
	layui.use('form', function(){
	  var form = layui.form;
	  form.render();
	  
	});
</script>